import { createApp } from 'vue'
import App from './App.vue'

import './index.css'
import './assets/css/bootstrap.css'

import axios from 'axios'
//由构造函数创建app实例
const app = createApp(App)
//设置基地址
axios.defaults.baseURL = 'https://www.escook.cn'
//将axios挂载到app实例上
app.config.globalProperties.$http = axios
//渲染app.vue到index.html上
app.mount('#app')
